package com.fuxi.cloud.desreport.render.b;

import com.alibaba.fastjson.JSONObject;

/**
 * a
 *
 * @Author: 扫地僧
 * @CreateTime: 2021-05-03
 */
public class a {
    private String a;
    private JSONObject b;

    public a() {
    }

    public String getFieldName() {
        return this.a;
    }

    public JSONObject getObj() {
        return this.b;
    }

    public void setFieldName(String fieldName) {
        this.a = fieldName;
    }

    public void setObj(JSONObject obj) {
        this.b = obj;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof a)) {
            return false;
        } else {
            a var2 = (a)o;
            if (!var2.a(this)) {
                return false;
            } else {
                String var3 = this.getFieldName();
                String var4 = var2.getFieldName();
                if (var3 == null) {
                    if (var4 != null) {
                        return false;
                    }
                } else if (!var3.equals(var4)) {
                    return false;
                }

                JSONObject var5 = this.getObj();
                JSONObject var6 = var2.getObj();
                if (var5 == null) {
                    if (var6 != null) {
                        return false;
                    }
                } else if (!var5.equals(var6)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean a(Object var1) {
        return var1 instanceof a;
    }

    @Override
    public int hashCode() {
        boolean var1 = true;
        byte var2 = 1;
        String var3 = this.getFieldName();
        int var5 = var2 * 59 + (var3 == null ? 43 : var3.hashCode());
        JSONObject var4 = this.getObj();
        var5 = var5 * 59 + (var4 == null ? 43 : var4.hashCode());
        return var5;
    }

    @Override
    public String toString() {
        return "EachData(fieldName=" + this.getFieldName() + ", obj=" + this.getObj() + ")";
    }
}

